package com.quad.innovators.salesease.mapper.warehouse;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quad.innovators.salesease.model.entity.warehouse.SaleReturnOrder;
import com.quad.innovators.salesease.model.query.warehouse.SaleReturnOrderQuery;
import com.quad.innovators.salesease.model.vo.warehouse.SaleReturnOrderVO;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : shanshan.li
 * @createTime : 2024/12/18 16:01
 * @Version : 1.0 
 */
public interface SaleReturnOrderMapper extends BaseMapper<SaleReturnOrder> {
    Page<SaleReturnOrderVO> listPage(Page<SaleReturnOrderVO> page, @Param("queryParams") SaleReturnOrderQuery queryParams);

    List<String> getSaleScanCodeByVehicleCode(@Param("vehicleCode") String vehicleCode);

    List<String> getReturnScanCodeByVehicleCode(@Param("vehicleCode") String vehicleCode);
}
